package com.example.back.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("outstore")
public class OutStore {
//    @TableField("out_id")
    @TableId(value = "out_id", type = IdType.INPUT)
    private String outId;

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @TableField("out_date")
    private Date outDate;

    @TableField("out_count")
    private Integer outCount;

    @TableField("out_ton")
    private double outTon;

    @TableField("out_cost")
    private double outCost;

    @TableField("out_storeid")
    private String outStoreId;

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @TableField("create_time")
    private Date createTime;

    @TableField("create_name")
    private String createName;


    @TableLogic
    @TableField("deleted")
    private Integer deleted;


}
